[INFO] cloning repository https://github.com/davidabernado/based-minigrep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidabernado/based-minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidabernado%2Fbased-minigrep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidabernado%2Fbased-minigrep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7b4e7c0b5be8afcb5c8e03b85bf48dec27bc2411
[INFO] building davidabernado/based-minigrep against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidabernado%2Fbased-minigrep" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/davidabernado/based-minigrep on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/davidabernado/based-minigrep
[INFO] finished tweaking git repo https://github.com/davidabernado/based-minigrep
[INFO] tweaked toml for git repo https://github.com/davidabernado/based-minigrep written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/davidabernado/based-minigrep already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b9127884f61ed2f3d1dff4cebb67883c666c979b9d8066074ea4d09cdf820ad9
[INFO] running `Command { std: "docker" "start" "-a" "b9127884f61ed2f3d1dff4cebb67883c666c979b9d8066074ea4d09cdf820ad9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b9127884f61ed2f3d1dff4cebb67883c666c979b9d8066074ea4d09cdf820ad9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9127884f61ed2f3d1dff4cebb67883c666c979b9d8066074ea4d09cdf820ad9", kill_on_drop: false }`
[INFO] [stdout] b9127884f61ed2f3d1dff4cebb67883c666c979b9d8066074ea4d09cdf820ad9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 38cf7046a9468a66b781f5963791dc6231611644b147255f6afacfdf2e8d6c29
[INFO] running `Command { std: "docker" "start" "-a" "38cf7046a9468a66b781f5963791dc6231611644b147255f6afacfdf2e8d6c29", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.40
[INFO] [stderr]    Compiling lazy_static v1.0.0
[INFO] [stderr]    Compiling nodrop v0.1.12
[INFO] [stderr]    Compiling cfg-if v0.1.3
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling rayon-core v1.4.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling arrayvec v0.4.7
[INFO] [stderr]    Compiling crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling regex v1.0.0
[INFO] [stderr]    Compiling ucd-util v0.1.1
[INFO] [stderr]    Compiling thread_local v0.3.5
[INFO] [stderr]    Compiling utf8-ranges v1.0.0
[INFO] [stderr]    Compiling regex-syntax v0.6.0
[INFO] [stderr]    Compiling either v1.5.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling num_cpus v1.8.0
[INFO] [stderr]    Compiling memchr v2.0.1
[INFO] [stderr]    Compiling rand v0.4.2
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling aho-corasick v0.6.4
[INFO] [stderr]    Compiling rayon v1.0.1
[INFO] [stderr]    Compiling based_minigrep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:26:60
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]    |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 14.31s
[INFO] running `Command { std: "docker" "inspect" "38cf7046a9468a66b781f5963791dc6231611644b147255f6afacfdf2e8d6c29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38cf7046a9468a66b781f5963791dc6231611644b147255f6afacfdf2e8d6c29", kill_on_drop: false }`
[INFO] [stdout] 38cf7046a9468a66b781f5963791dc6231611644b147255f6afacfdf2e8d6c29
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] efd9d4012d6fd7d1ccec47fe84aec9cf4d6e847a13db0975491b0ea646639b7f
[INFO] running `Command { std: "docker" "start" "-a" "efd9d4012d6fd7d1ccec47fe84aec9cf4d6e847a13db0975491b0ea646639b7f", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:26:60
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]    |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling based_minigrep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:26:60
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]    |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_grep.rs:14:39
[INFO] [stdout]    |
[INFO] [stdout] 14 |             search(&query, &contents, &flag)
[INFO] [stdout]    |             ------                    ^^^^^ expected enum `Flag`, found struct `String`
[INFO] [stdout]    |             |
[INFO] [stdout]    |             arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&Flag`
[INFO] [stdout]               found reference `&String`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn search(query: &str, contents: &str, flag: &Flag) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_grep.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |             search(&query, &contents, &flag),
[INFO] [stdout]    |             ------                    ^^^^^ expected enum `Flag`, found struct `String`
[INFO] [stdout]    |             |
[INFO] [stdout]    |             arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&Flag`
[INFO] [stdout]               found reference `&String`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn search(query: &str, contents: &str, flag: &Flag) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `based_minigrep` due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "efd9d4012d6fd7d1ccec47fe84aec9cf4d6e847a13db0975491b0ea646639b7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "efd9d4012d6fd7d1ccec47fe84aec9cf4d6e847a13db0975491b0ea646639b7f", kill_on_drop: false }`
[INFO] [stdout] efd9d4012d6fd7d1ccec47fe84aec9cf4d6e847a13db0975491b0ea646639b7f
